package xuegao.study.mall.admin.service.pms.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xuegao.study.mall.admin.service.pms.PmsProductAttributeCategoryService;
import xuegao.study.mall.repo.dao.pms.PmsProductAttributeCategoryDao;
import xuegao.study.mall.common.dto.PmsProductAttributeCategoryItem;

import java.util.List;

@Service
public class PmsProductAttributeCategoryServiceImpl implements PmsProductAttributeCategoryService {

    @Autowired
    private PmsProductAttributeCategoryDao pmsProductAttributeCategoryDao;

    @Override
    public List<PmsProductAttributeCategoryItem> getWithAttr() {
        return pmsProductAttributeCategoryDao.getListWithAttr();
    }
}
